package com.thoughtworks.studio.tools.cardkit;

import java.awt.Color;
import java.awt.Font;
import java.awt.image.BufferedImage;

public class CardMetrics {
	
	
	private int width;
	private int hight;
	private Font font;
	private int pointX;
	private int pointY;
	private int colorType;
	private Color color;
	
	static public CardMetrics cardProperty = new CardMetrics(new Font("Times New Roman", Font.PLAIN, 10),95,65,0,0,BufferedImage.TYPE_INT_RGB,Color.WHITE);
	static public CardMetrics numberProperty = new CardMetrics(new Font("Times New Roman", Font.BOLD, 10),-1,-1,75,10,BufferedImage.TYPE_INT_RGB,Color.BLACK);
	static public CardMetrics nameProperty = new CardMetrics(new Font("Times New Roman", Font.PLAIN, 10),-1,-1,2,20,BufferedImage.TYPE_INT_RGB,Color.BLACK);
	public CardMetrics(Font font, int width, int hight, int pointx, int pointy,int colorType,Color color){
		this.font = font;
		this.width = width;
		this.hight = hight;
		this.pointX = pointx;
		this.pointY = pointy;
		this.colorType = colorType;
		this.color = color;
	}
	
	public Font getFont() {
		return font;
	}
	
	public int getHight() {
		return hight;
	}
	public int getPointX() {
		return pointX;
	}
	public int getPointY() {
		return pointY;
	}
	public int getWidth() {
		return width;
	}
	public void setFont(Font font) {
		this.font = font;
	}
	public void setHight(int hight) {
		this.hight = hight;
	}
	public void setPointX(int pointX) {
		this.pointX = pointX;
	}
	public void setPointY(int pointY) {
		this.pointY = pointY;
	}
	public void setWidth(int width) {
		this.width = width;
	}

	public int getColorType() {
		return colorType;
	}

	public void setColorType(int colorType) {
		this.colorType = colorType;
	}
	
	public Color getColor(){
		return this.color;
	}
	
}
